add_mlir_dialect_library(MLIRtoy
        toyDialect.cpp
        toyOps.cpp
        toyTypes.cpp

        ADDITIONAL_HEADER_DIRS
        ${PROJECT_SOURCE_DIR}/include/myDialect

        DEPENDS
        toyDialectIncGen
        toyOpsIncGen
        toyTypesIncGen
        
        LINK_LIBS PUBLIC
        MLIRIR
        MLIRInferTypeOpInterface
)

